<template>
<!--  <div style="position: fixed;z-index: 9999;bottom: 20px;left: 20px">-->
<!--    <el-countdown-->
<!--        title="许可证剩余时间"-->
<!--        format="HH:mm:ss"-->
<!--        :value="times"-->
<!--        value-style="color: #afafaf;font-size: 20px"-->
<!--    />-->
<!--  </div>-->
  <router-view/>
</template>

<script setup>
import useSettingsStore from '@/store/modules/settings'
import {handleThemeStyle} from '@/utils/theme'

// const times=ref(Date.now());
//验证许可证
// getDate().then((res) => {
//   times.value=new Date(res.data).getTime();
// }).catch(()=>{
//   times.value=Date.now();
// })

onMounted(() => {
  nextTick(() => {
    // 初始化主题样式
    handleThemeStyle(useSettingsStore().theme)
  })
})
</script>
